From 37e3bb08572013ca299bc0758e2fb4f0b6449464 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Sat, 8 Nov 2025 14:36:04 +0100 Subject: [PATCH] ubuntu-resolute commit 112ffe7c621e8bf145c5c5926e36f3af9e0fd045 Author: Sylvestre Ledru Date: Tue Apr 22 11:50:58 2025 +0200 Add support of the next Ubuntu (Ubuntu 25.10 - Questing Quokka) Gbp-Pq: Name ubuntu-resolute.patch --- clang/include/clang/Driver/Distro.h | 3 ++- clang/lib/Driver/Distro.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Driver/Distro.h b/clang/include/clang/Driver/Distro.h index 9f27c2baae..b834185682 100644 --- a/clang/include/clang/Driver/Distro.h +++ b/clang/include/clang/Driver/Distro.h @@ -82,6 +82,7 @@ public: UbuntuOracular, UbuntuPlucky, UbuntuQuesting, + UbuntuResolute, UnknownDistro }; @@ -133,7 +134,7 @@ public: } bool IsUbuntu() const { - return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting; + return DistroVal >= UbuntuHardy && DistroVal <= UbuntuResolute; } bool IsAlpineLinux() const { return DistroVal == AlpineLinux; } diff --git a/clang/lib/Driver/Distro.cpp b/clang/lib/Driver/Distro.cpp index 2a35fd033d..ccf47efb1a 100644 --- a/clang/lib/Driver/Distro.cpp +++ b/clang/lib/Driver/Distro.cpp @@ -98,6 +98,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) { .Case("oracular", Distro::UbuntuOracular) .Case("plucky", Distro::UbuntuPlucky) .Case("questing", Distro::UbuntuQuesting) + .Case("resolute", Distro::UbuntuResolute) .Default(Distro::UnknownDistro); return Version; } -- 2.30.2